package com.dmai.aiet.archive.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;


/**
 * 用户实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Table("sys_user")
public class SysUser {
    private static final long serialVersionUID = -5886012896705137070L;

    @Id
    private Long id;

    private String username;
    private String password;
    private String nickname;
    private String headImgUrl;
    private String mobile;
    private Integer sex;
    private Boolean enabled;
    private String type;
    private String openId;
    private Long creatorId;

}
